package com.sc.nft.entity.vo.tradingPool;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.enums.TradingStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 交易池交易记录
 */
@Data
public class TradingPoolOrderDetailVO {

    @ApiModelProperty(value = "标题")
    private String firstTitle;

    @ApiModelProperty(value = "图片")
    private String creationContent;

    @ApiModelProperty("交易藏品编号")
    private Integer numbering;

    @ApiModelProperty("成交价格")
    private BigDecimal amount;

    @ApiModelProperty("订单时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date dealTime;

    @ApiModelProperty("订单编号")
    private String orderNumber;

    @ApiModelProperty("买家名称")
    private String buyUserName;

    @ApiModelProperty("卖家名称")
    private String sellerUserName;

    @ApiModelProperty("等级")
    private String level;

    @ApiModelProperty("到账金额")
    private String realAmount;

    @ApiModelProperty("手续费")
    private String charge;

    @ApiModelProperty("交易状态")
    private TradingStatusEnum orderStatus;

    @ApiModelProperty("上链费")
    private BigDecimal gas;
}
